<?php
namespace QnuiRingsMobile\Model;
use Think\Model\ViewModel;
class TagTaskItemsViewModel extends ViewModel {
   public $viewFields = array(
	 'PromotionItems'=>array('id','num_iid','title'=>"name",'activity_id','detail_id','pic_url','price','promotion_type','promotion_value','is_limit_buy','limit_buy_count','_type'=>'LEFT'),
	 'Promotions'=>array('id'=>'promotion_id','name'=>"promo_name",'description','participate_range','start_time','end_time','is_user_tag','tag_name','tag_id','is_add_user_tag','add_tag_name','add_tag_id','is_remove_user_tag','remove_tag_name','remove_tag_id','tag_action','is_decrease_money','decrease_amount','is_discount','discount_rate','is_limit_buy','limit_buy_count','status','_on'=>'PromotionItems.activity_id=Promotions.activity_id','_type'=>'LEFT'),
     'TagTask'=>array('id'=>'tag_task_id','sid','tag_id','tag_name','tag_family','countdown','order_topic','rate_level','good_rate_key_words','item_count','promotion_count','start_time','end_time','payment','task_type','_on'=>'Promotions.tag_id=TagTask.tag_id','_type'=>'LEFT')
	 );
}